Product Documentation

c-treeDB API for C# - Developers Guide

Previous Topic

Next Topic

CTNumber Methods

Constructor / Destructor

  • CTNumber(): Creates a CTNumber object
  • ~CTNumber(): Destroys a CTNumber object and resets all the dependent objects

Date Handling

  • IsZero(): Indicate if a CTNumber value is zero
  • Zero(): Set a CTNumber value to zero
  • SetNumber(): Initializes the CTNumber object.
  • Round(): Rounds the CTNumber to a specified number of decimal places
  • DecimalDigits(): Retrieves the number of digits after the decimal point.
  • IntegralDigits(): Retrieves the number of digits before the decimal point.
  • AsFloat(): Converts a CTNumber object to double
  • AsLong(): Converts a CTNumber object to long
  • AsNumber(): Retrieves the CTNumber type
  • AsMoney(): Converts a CTNumber object to a CTMoney object
  • AsString(): Converts a CTNumber object to a String object
  • AsBigint(): Converts a CTNumber to a big integer object.
  • AsCurrency(): Converts CTNumber to a CTCurrency object.

In This Section

CTNumber.CTNumber

CTNumber.~CTNumber

CTNumber.AsBigint

CTNumber.AsCurrency

CTNumber.AsFloat

CTNumber.AsLong

CTNumber.AsMoney

CTNumber.AsNumber

CTNumber.AsString

CTNumber.DecimalDigits

CTNumber.IntegralDigits

CTNumber.IsZero

CTNumber.Round

CTNumber.SetNumber

CTNumber.Zero

TOCIndex