public class Instrument extends Object
Modifier and Type | Method and Description |
---|---|
long |
asLong()
Get this instrument as a long integer.
|
String |
asString()
Get this instrument as a string.
|
double |
getPriceFactor()
Get the multiplication factor for a price.
|
String |
getPriceFormat()
Get a format string for a price.
|
int |
getPriceFractionDigits()
Get the number of digits in the fractional part of a price.
|
double |
getSizeFactor()
Get the multiplication factor for a size.
|
String |
getSizeFormat()
Get a format string for a size.
|
int |
getSizeFractionDigits()
Get the number of digits in the fractional part of a size.
|
public String asString()
public long asLong()
public int getPriceFractionDigits()
public int getSizeFractionDigits()
public double getPriceFactor()
public double getSizeFactor()
public String getPriceFormat()
public String getSizeFormat()
Copyright © 2017. All rights reserved.