of     1   

marine1357
#225711058Thursday, September 28, 2017 10:04 PM GMT

So for example, string sub can be used as string.sub("hello", 2) and it will print e, is there a way to do this for numbervalues? As I cannot put in 1.05 as it turns into ################## is there a way to pick up the first 5 characters? Or is there a way to round it by a certain decimal.
cntkillme
#225711099Thursday, September 28, 2017 10:05 PM GMT

round to 5 decimal places: math.floor(n*10^5 + 0.5)/10^5
Riderj
#225711144Thursday, September 28, 2017 10:06 PM GMT

Say you wanted ## out of ########## convert it to a string get the characters up to the 2nd character and convert it back into a number.
LaeMVP
#225711208Thursday, September 28, 2017 10:08 PM GMT

also your example would return ello

    of     1