Difference between revisions of "CARenderingStyle::NumberAsText"

(Marked this version for translation)
(EW 17562)
Line 10: Line 10:
 
how the number is formatted as a string (except that the [[CARenderingStyle::FullPrecision|FullPrecision]] property can override the
 
how the number is formatted as a string (except that the [[CARenderingStyle::FullPrecision|FullPrecision]] property can override the
 
number of digits in the number format).
 
number of digits in the number format).
 +
 +
When [[CARenderingStyle::FullPrecision]] is true, all date-time numbers are rendered in a canonical format, effectively ignoring any custom date or time format, so as to ensure that the date and time can be re-parsed correctly. Since dates and times can appear in many different customizations, it isn't just a simple matter of increasing the number of digits to obtain full precision, and hence, it reverts to a canonical form.
  
 
== Data type == <!--T:3-->
 
== Data type == <!--T:3-->

Revision as of 21:13, 14 September 2017

ADE User Guide > ADE Server Class Reference > CARenderingStyle

Other languages:
English • ‎中文

property bool NumberAsText

Controls whether numeric results or numeric table cell definitions are returned as floating point numbers or as formatted strings. When true, the number format for the current object controls how the number is formatted as a string (except that the FullPrecision property can override the number of digits in the number format).

When CARenderingStyle::FullPrecision is true, all date-time numbers are rendered in a canonical format, effectively ignoring any custom date or time format, so as to ensure that the date and time can be re-parsed correctly. Since dates and times can appear in many different customizations, it isn't just a simple matter of increasing the number of digits to obtain full precision, and hence, it reverts to a canonical form.

Data type

Boolean

Access

read/write

Usage

deftab.RenderingStyle.NumberAsText = true

See Also

Comments


You are not allowed to post comments.