Jump to content

[SOLVED] Closest real numbers


 Share

Recommended Posts

Hello,

I need help, I need to find nearest real numbers, could somebody find function if it exists(or write it)?

Examples:
1.25 output would be 1 and 2
31.123 output would be 31 and 32
24 output would be 24
100.01 output would be 100 and 101

Thanks!

Edited by algiuxas

After switching years ago to Linux, sadly I don't use AutoIt anymore.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...