SOLVED: Convert things like "1.5468331008E+10 bytes" to Gigabytes in AppleScript

I'd like to convert the number "1.5468331008E+10" into a decimal with applescript.

Does anyone know how to help?

After this, Help with converting the decimal number from bytes to gigabytes would be appreciated!

Apple Script is pretty annoying to use when doing things like rounding numbers.

However these numbers work like any others, so you can e.g. do round(1.5468331008E+10/1024/1024)

Do you have an example of what you want to do exactly? Possibly some non Apple Script ways would be better suited (or Java Script for automation could be used instead)

display remaining disk space from finder applescript..

@Andreas_Hegenberg Thanks for your help! I got this working: