Float Divide and String Concatenation

The following page provides an example of peforming 100x floating point division, concatenating the result with a string, and printing it.

Example

limit = 111111111;
for i = 1,100 do
    foo = math.random(limit)
    foo_div = foo / 1.12345
    print("foo: "..foo.."tfoo_div: "..foo_div)
end

The output of running the above is quite long and is mostly numeric. Run it yourself if you wish to peruse it!