Reference·JavaScript · @sascom/commonjsJavaScript

toBulLength

Function in @sascom/commonjs.

API catalogue · @sascom/commonjs · Function

TypeScript#
function toBulLength

Members#

Member Kind Description
toBulLength Method A length for a BUL statement: in the typed unit when the value is exact in it and BUL knows the unit ("60 cm"), otherwise mm rounded to 0.01 mm ("454.13 mm")…

toBulLength#

TypeScript#
toBulLength(mm: number, typedUnit?: string | null): string

A length for a BUL statement: in the typed unit when the value is exact in it and BUL knows the unit ("60 cm"), otherwise mm rounded to 0.01 mm ("454.13 mm"); zero is "0"

Parameters#

Name Type Description
mm number
typedUnit string | null