Decimal Value

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • karan84
    New Member
    • Jan 2007
    • 4

    Decimal Value

    I need to extract the value in a variable say a upto 2 decimal places.

    e.g
    a=23.45678

    o/p
    a=23.45
  • horace1
    Recognized Expert Top Contributor
    • Nov 2006
    • 1510

    #2
    Originally posted by karan84
    I need to extract the value in a variable say a upto 2 decimal places.

    e.g
    a=23.45678

    o/p
    a=23.45
    what are working in? unix script, C, python, java?

    Comment

    Working...