sql server - Displaying decimal places -


i'm writing report, in need display decimal places necessary

for example

123.0000 should displayed 123 123.4670 should displayed 123.467 235.4345 should displayed 235.4345

does know if possible?

there 2 option.

one way if using sp , convert in db side.

you can cast or convert float simple

select cast (123.4670 float), cast (123.000 float)  

or

if using tables, use format function modify

=format(fields!cul1.value, "#,##0.##") 

Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -