Code: Select all
string = 2.3e-5
newstring = StrStr(string, 2)
DebugPrint(newstring)
Since the idea with StrStr() to my understanding is specifically to change a number into a string form, it would make sense it would take into notion the scientific notation format e when doing this "up to x decimals" change since the result is clearly wrong.