Anonymous user
whitespace
en>Dragons flight (Add precision calculation) |
en>Dragons flight (whitespace) |
||
Line 21:
function z._precision( x )
x = string.upper( x )
-- Remove leading / trailing whitespace
x = x:match "^%s*(.-)%s*$";
local decimal = string.find( x, '.', 1, true )
local exponent = string.find( x, 'E', 1, true )
|