package com.smartgwt.client.util;

public class Format {

    public static native String toUSString(double value) /*-{
        return $wnd.isc.Format.toUSString(value);
    }-*/;

    public static native String toUSString(double value, int decimalPrecision) /*-{
        return $wnd.isc.Format.toUSString(value, decimalPrecision);
    }-*/;

    public static native String toUSDollarString(double value) /*-{
        return $wnd.isc.Format.toUSDollarString(value);
    }-*/;

    public static native String toUSDollarString(double value, int decimalPrecision) /*-{
        return $wnd.isc.Format.toUSDollarString(value, decimalPrecision);
    }-*/;

}
