com.stimulsoft.report
Class Func.Convert

java.lang.Object
  extended by com.stimulsoft.report.Func.Convert
Enclosing class:
Func

public static class Func.Convert
extends java.lang.Object


Constructor Summary
Func.Convert()
           
 
Method Summary
static java.lang.String toArabic(int value, java.lang.Boolean useEasternDigits)
          Converts the number to the arabic representation.
static java.lang.String toArabic(java.lang.String value, java.lang.Boolean useEasternDigits)
          Converts all digits in the String to the arabic representation.
static boolean toBoolean(java.lang.Object value)
           
static char toChar(java.lang.Object value)
           
static StiDateTime toDateTime(java.lang.Object value)
           
static double toDecimal(java.lang.Object value)
           
static double toDouble(java.lang.Object value)
           
static long toInt32(java.lang.Object value)
           
static java.lang.String toRoman(int value)
          Converts Arabic numerals to Roman.
static double toSingle(java.lang.Object value)
           
static java.lang.String toString(java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Func.Convert

public Func.Convert()
Method Detail

toRoman

public static java.lang.String toRoman(int value)
Converts Arabic numerals to Roman.

Parameters:
value - Arabic numerals for converting to the Roman format.
Returns:
Returns Arabics numerals in Roman.

toArabic

public static java.lang.String toArabic(int value,
                                        java.lang.Boolean useEasternDigits)
Converts the number to the arabic representation.

Parameters:
value - A number for converting into the arabic representation.
useEasternDigits - Use eastern or standard arabic digits.
Returns:
String representation of the value with arabic digits.

toArabic

public static java.lang.String toArabic(java.lang.String value,
                                        java.lang.Boolean useEasternDigits)
Converts all digits in the String to the arabic representation.

Parameters:
value - A String for converting into the arabic representation.
useEasternDigits - Use eastern or standard arabic digits.
Returns:
String with arabic digits.

toSingle

public static double toSingle(java.lang.Object value)

toDouble

public static double toDouble(java.lang.Object value)

toDecimal

public static double toDecimal(java.lang.Object value)

toInt32

public static long toInt32(java.lang.Object value)

toBoolean

public static boolean toBoolean(java.lang.Object value)

toChar

public static char toChar(java.lang.Object value)

toString

public static java.lang.String toString(java.lang.Object value)

toDateTime

public static StiDateTime toDateTime(java.lang.Object value)