goodmanjl531 Posted June 20, 2024 Posted June 20, 2024 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.
Solution goodmanjl531 Posted June 20, 2024 Author Solution Posted June 20, 2024 I found my issue, i was pulling incorrect data on the first line $pretax = $storedata_5[$Line5][9] $e9 = StringFormat("%.8f", $pretax) & "|"
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now