public class RatioValue extends Object
| コンストラクタと説明 |
|---|
RatioValue(double percent) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
double |
getAsPercent() |
double |
getAsRatio() |
static RatioValue |
parseRatioValue(String sValue)
Parses the provided string as a
RatioValue, the string can
either be in percentage format (eg. 73.5%), or a floating-point ratio
format (eg. 0.735) |
String |
toString() |
public double getAsRatio()
public double getAsPercent()
public static RatioValue parseRatioValue(String sValue)
RatioValue, the string can
either be in percentage format (eg. 73.5%), or a floating-point ratio
format (eg. 0.735)Copyright © 2009–2016. All rights reserved.