LassoScript Utility
Basics Browse Detail

[Scientific]

Tag Link [Scientific] Category Math
Type Substitution Source Available No
Support Preferred Version 7.0
Change Unchanged Data Source Any
Output Type String Security Tag
Implementation LDML Sets Lasso 8.5, Lasso 8.0, Lasso 7.0

Description

The [Scientific] tag formats a number according to the preferences of a specific region or country. By default it formats scientific notation according to the United States standard.

The tag requires three parameters. The first should be a decimal value. The second should be a language code and the third should be a country or region code. See the [Locale_Format] tag for a list of country and region codes.

Syntax

[Scientific: Numeric Value]

[Scientific: Numeric Value, Language Code, Country Code]

Parameters

Required Parameters
Language Code The language code for the desired formatting.
Country Code The country code for the desired formatting.
Decimal Value The decimal value to be formatted.

Change Notes

Note: The separate parameters for language and country code were introduced in Lasso Professional 7.0.2. In prior versions the language and country code could be specified as a name/value pair [Scientific: 1.00, 'LC'='CC']. This alternate method is still supported in Lasso Professional 7.0.2.

Examples

See the Lasso 8 Language Guide for examples of how to use this tag.