Jump to content

Recommended Posts

Posted

Hoping for quick help here.  I ve looked at other posts and the autoit help on the stringformat command and its not helpful..

 

I need to take a number i pulled from an array and make sure it has 7 significant digits.

 

i,e,    0.08375  is what is in the array   i need it to show 0.0837500  not 0.08375  I have trying every way to using string format and nothing seems to work..

$pretax = $storedata_5[$Line5][10]
    $e11 =StringFormat($pretax,"%.8f") &"|"

This is a puill from an excel sheet and it is stored as a numeric, above doesnt nothing does not add any trailing zeros.

 

thanks in advanced.

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
  • Recently Browsing   0 members

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