OpenPetra
Free Administration Software for Non-Profits
Ict.Petra.Server.MFinance.Common.FormatConverter Class Reference

This class is a local Format converter
Console.WriteLine(new FormatConverter("->>>,>>>,>>>,>>9.99").digits.ToString());
Console.WriteLine(new FormatConverter("->>>,>>>,>>>,>>9.9").digits.ToString());
Console.WriteLine(new FormatConverter("->>>,>>>,>>>,>>9").digits.ToString());
The result is 2,1 and 0 digits .. More...

Public Member Functions

 FormatConverter (string strFormat)
 

Properties

int digits [get]
 Property to report the number of digits More...
 

Detailed Description

This class is a local Format converter
Console.WriteLine(new FormatConverter("->>>,>>>,>>>,>>9.99").digits.ToString());
Console.WriteLine(new FormatConverter("->>>,>>>,>>>,>>9.9").digits.ToString());
Console.WriteLine(new FormatConverter("->>>,>>>,>>>,>>9").digits.ToString());
The result is 2,1 and 0 digits ..

Constructor & Destructor Documentation

◆ FormatConverter()

Ict.Petra.Server.MFinance.Common.FormatConverter.FormatConverter ( string  strFormat)
inline

Property Documentation

◆ digits

int Ict.Petra.Server.MFinance.Common.FormatConverter.digits
get

Property to report the number of digits


The documentation for this class was generated from the following file: