Users Pricing

forum

Home Forums How can I convert string to decimal with trailing zero(s) – MindStick

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

Anonymous User 2866 05 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


1 Answers

Markdown for AI

A clean, structured version of this page for AI assistants and LLMs.

Open .md