c# - How to Convert Value into 2 decimal in expression column of data table -



c# - How to Convert Value into 2 decimal in expression column of data table -

i want convert value 2 decimal part in look column of datatable.

e.g. value = 23.2546876

i want = 23.25

please help me....

i found solution ....

there no function convert value 2 decimal might seek using next expression: convert(x * 100, 'system.int32')/100

c# datatable expression

Comments

Popular posts from this blog

java - How to pass parameters between Request-Scoped Controllers? -

actionscript 3 - Flex: moving a point with rotation doesnt change the point XY? -

ms access - C# - Using OleDbParameter on table name -