simionx.Format - String formatting utilities¶
simionx.Format - String format utility functions
SYNOPSIS¶
local FMT = require "simionx.Format"
local s = FMT.scientific_notation(123.456, 0.1)
assert(s == "1.2346e+2 +/- 0.0010e+2")
DESCRIPTION¶
This module provides functions for string formatting, such as formatting a number in scientific notation with error bounds.
Note
See these additional sections in this topic in the offline SIMION 8.1.0 help file:- INTERFACE
SOURCE¶
(c) 2007 Scientific Instrument Services, Inc. Licensed under the terms of SIMION 8.0. www.simion.com. D.Manura-2007.
version: 20071023
