Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to use the function ROUND with a real number as 0.8156? 1

Status
Not open for further replies.

Pjone kenobi

Mechanical
Joined
Sep 19, 2018
Messages
44
Location
FR
Hi,

I've a trouble with my numbers:
I tried to make a round with an expression, of a non integer number but I can't, could you help me please?

What I have is: 0.8156
What I need is: 0.8

An idea?

Best regards
PJ
 
round(.8156*10)/10

If you want 2 decimal places round(.8156*100)/100, etc.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top