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

This page is abridged from the full SIMION "Supplemental Documentation" (Help file). The following additional sections can be found in the full version of this page accessible via the "Help > Supplemental Documentation" menu in SIMION 8.1.1 or above:
  • INTERFACE

SOURCE

version: 20071023