KRASCHE
&
BYRNE
         ELZED  HOME       NEWS       DOCS       DOWNLOADS       LICENSING       SUPPORT       FAQ       ABOUT  US

What's An Elzed?
Features
Licensing
Downloads
Documentation
Elzed News
    ELZED 
 Documentation 
 The Details 
 API 

lzSetRadixMark

The lzSetRadixMark function determines the character used to separate the whole and fractional parts of a number. Elzed uses the period as the radix mark by default.

void lzSetRadixMark(
   char cRadixMarkCode   // character code for the radix mark
);

Parameters

cRadixMarkCode
   The code character must be one of the following values:

Code Constant Meaning
'P'
kRadixPeriod A period is used for the radix mark.
'C'
kRadixComma A comma is used for the radix mark.

While passing the code character itself will work, passing the constant is a better idea long term. Note that passing a comma or period to the function will not work.

Return Value

   None.

Remarks

   This function must be called after lzClearContext, but before lzSetContext. The setting may not be changed for a given context once lzSetContext has been called.

Versions

   Introduced in Elzed 1.0.0
Modified in Elzed 2.3.1 -- Dropped "residual effects" of using the comma radix mark
   This page describes the version of lzSetRadixMark active in Elzed 2.5.0 (120: 2.5.0)

See Also

   Contexts


  Copyright  ©  MMXXV  by  R R Le Cropane   •   All Rights Reserved   •   Terms of Use   •   Privacy Policy