Adding 3 decimals places

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • chez
    New Member
    • May 2011
    • 9

    Adding 3 decimals places

    i wanted to add 3 decimals places to either string or int.
    let say

    scenario 1:

    a = 8
    to
    a = 8.000
    b = 11.6
    to
    b= 11.600
    c= 34.55
    to
    c= 34.550

    anyone can help?
  • RhysW
    New Member
    • Mar 2012
    • 70

    #2
    Where you asked the question there was the big blue button saying ask a question, just above that is three tabs, All, Answers, and Insights, in the insights tab the very top insight (if you are looking exclusively at the c# insights) is about padding with zeros and decimals, research is your friend.

    here's the link just incase:
    Last edited by Niheel; Apr 24 '12, 12:17 PM. Reason: comedian :)

    Comment

    Working...