I have a DataGrid
that receives your information from the database through an SP, in one of the fields, I need to truncate to two decimals instead of rounding it up so that if I have a value as 99.9999578
, stay in 99.99
and do not round to 100
.
I tried a custom format ##0.00####
and MaxInputLength
to try to limit the characters shown in the cell but it did not work.