Class: cFormatter

Module location: cFormatter.pkg line 19 (view source)

Class Hierarchy:

cObjectcFormatter

Class Definition

Properties

integerpbCurNegThousandsSep
integerpbCurPosThousandsSep
integerpbNumNegThousandsSep
integerpbNumPosThousandsSep
integerpbThousandsSep
integerpiCurNegPoints
integerpiCurPosPoints
integerpiNumNegPoints
integerpiNumPosPoints
integerpiPoints
stringpsCurNegLeft
stringpsCurNegright
stringpsCurPosLeft
stringpsCurPosright
StringpsCurrencySymbol
stringpsLeft
stringpsNumNegLeft
stringpsNumNegright
stringpsNumPosLeft
stringpsNumPosright
stringpsright

Functions and Procedures

Construct_object()
stringFormat_Num(number nNumber integer iPoints integer bSep string sPrefix string sSuffix)
low level formatting. Pass parameters
stringFormatCur(number nNumber integer iPoints)
Public: Format for currency
stringFormatNum(number nNumber integer iPoints)
Public: Format for numeric
stringFormatVal(number nNumber string sFmt)
Public: Format passing format string
ParseFormat(string sFmt)
internal parse passed format string and set temporary properties with result
SetFormat(string sFmt integer bCurrency)
Public: Sets a format string. Pass full format for Positve and negative in sFmt. Pass bCurrency true is this is a currency format, false if a numeric format e.g. Send SetFormat "$,#.##;($,#.##)" True

Instances

oEvalObjcInternetSessionBusinessProcess.pkg88