Class Parsers
- java.lang.Object
-
- com.priint.pubserver.plugins.datamapping.Parsers
-
public class Parsers extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringgetPrice(double price)Returns string representation of input parameter price according to the given formatting parametersstatic java.lang.StringgetPrice(java.lang.String price, java.lang.String currSymbol)
-
-
-
Method Detail
-
getPrice
public static java.lang.String getPrice(double price)
Returns string representation of input parameter price according to the given formatting parameters- Parameters:
price- value to be returned- Returns:
- formatted string representing
price
-
getPrice
public static java.lang.String getPrice(java.lang.String price, java.lang.String currSymbol)- Parameters:
price-currSymbol-- Returns:
- formatted price string
-
-