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 8.1.1 "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:
  • INTERFACE

SOURCE

(c) 2007 Scientific Instrument Services, Inc. Licensed under the terms of SIMION 8.0. www.simion.com. D.Manura-2007.

version: 20071023