forum

Home / DeveloperSection / Forums / How can I convert string to decimal with trailing zero(s)

How can I convert string to decimal with trailing zero(s)

Anonymous User244105-Oct-2013

Suppose that we have stringvalue=125.32600 when it convert to decimal value with this code

decimal d; 
decimal.tryparse(stringvalue,out d)


d value is 125.326 how can I do this convert with final result 125.32600


Updated on 05-Oct-2013
I am a content writter !

Can you answer this question?


Answer

1 Answers

Liked By