public class UnitPrefix extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
String |
name
The name of the prefix:
|
double |
value
The value of the prefix:
|
Constructor and Description |
---|
UnitPrefix(String name,
double value)
Construct.
|
public final String name
public final double value
public UnitPrefix(String name, double value)
name
- The name of the prefix (e.g. "mega", "M").value
- The value of the prefix (e.g. 1e6).IllegalArgumentException
- One of the arguments was null.Copyright © 1996–2023 The SSEC Visualization Project. All rights reserved.