Jump to content

[SOLVED] round to nearest 5 or 10 with 2 decimal places


Vivid Lust

Recommended Posts

To OP: Do you really want to round to the nearest 5/100ths? If so, your numbers are incorrect, 1.26 is closer to 1.25 than 1.30.

 

Perhaps you want to round up to the next 5/100ths? If that is the case, look to JAY6390's post.

 

(Edit: added "To OP" prefix)

To OP: Do you really want to round to the nearest 5/100ths? If so, your numbers are incorrect, 1.26 is closer to 1.25 than 1.30.

 

Perhaps you want to round up to the next 5/100ths? If that is the case, look to JAY6390's post.

 

(Edit: added "To OP" prefix)

 

My mistake! I meant to write 1.25 and not 1.30 , sorry guys

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.