Convert Decimal to String

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • Sameerlucky
    replied
    Shendkar,

    Guess below syntax might b helpful to u...

    stringVal = System.Convert. ToString(decima lVal);

    Cheers,
    Sameer

    Leave a comment:


  • r035198x
    replied
    Originally posted by shendkar1980
    converting decimal to string i.e 123.456 to string, I get wrong output : zero is add to end of string i.e. i get answer 123.4560

    how to over come this error :
    Did you use Decimal.ToStrin g()?
    Post the code that you used.

    Leave a comment:


  • shendkar1980
    started a topic Convert Decimal to String

    Convert Decimal to String

    converting decimal to string i.e 123.456 to string, I get wrong output : zero is add to end of string i.e. i get answer 123.4560

    how to over come this error :
Working...