Jump to content

adding decimals


Recommended Posts

ok, lets say i have a number like this: 376

the 3 is the dollars, and the 76 are the cents. is there an autoit function that can stick the decimal in there for me?

thanks help appriciated!

Link to comment
Share on other sites

ok, lets say i have a number like this: 376

the 3 is the dollars, and the 76 are the cents. is there an autoit function that can stick the decimal in there for me?

thanks help appriciated!

yea

$number1 = Inputbox("Decimal adder", "Place number below")

If Int($number1) then msgbox(0,"New","With decimal you have: " $number1/100)

Like that?

Edited by Paulie
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...