Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.4j

Application v 5.22b

  

 

Chapter ElevenSGML Functions (continued)

SGMLIsWholeUnits Function

Overview

The SGMLIsWholeUnits function tests that a specified unit has no fractional units.

Syntax/Parameters

Syntax

boolean = SGMLIsWholeUnits ( PVALUE value );

Parameters

value

A PVALUE (dword) specifying a structured parameter value.

Return Value

A boolean as TRUE (1) or FALSE (0) depending on the content of value.

Remarks

The SGMLIsWholeUnits only checks measurement values. If a non-measurement value is supplied, the result is not defined.

The value is checked for .00 fractional values (or .0000 in the case of inches).

Related Functions

Platform Support

Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL

Legato IDE, Legato Basic