Module:MOS intro: Difference between revisions
m Added rounding properly |
m Fixing up rounding |
||
| Line 193: | Line 193: | ||
-- Round values | -- Round values | ||
local round = 3 | local round = 3 | ||
local bright_gen_min_r = utils._round_dec(bright_gen_min, round) | |||
local bright_gen_max_r = utils._round_dec(bright_gen_max, round) | |||
local dark_gen_min_r = utils._round_dec(dark_gen_min, round) | |||
local dark_gen_max_r = utils._round_dec(dark_gen_max, round) | |||
local sentence = string.format("[[generator|Generating intervals]] that produce this scale range from %f¢ to %f¢, or from %f¢ to %f¢.", | local sentence = string.format("[[generator|Generating intervals]] that produce this scale range from %f¢ to %f¢, or from %f¢ to %f¢.", bright_gen_min_r, bright_gen_max_r, dark_gen_min_r, dark_gen_max_r) | ||
return sentence | return sentence | ||