The field and particle trajectory simulator
Industry standard charged particle optics software
Refine your design: model > simulate > view > analyze > program > optimize it.
SIMION v8.1.3.1-TEST posted - EA with new GEM features!
About | Documentation | Community/Support | Downloads | Ordering

simionx.Format - String formatting utilities

simionx.Format - String format utility functions


local FMT = require "simionx.Format"

local s = FMT.scientific_notation(123.456, 0.1)
assert(s == "1.2346e+2 +/- 0.0010e+2")


This module provides functions for string formatting, such as formatting a number in scientific notation with error bounds.


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:


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

version: 20071023

Any comments on this web page? (will be sent to SIS SIMION Support)
[Optional] Your name: email: phone/fax: