| Package | Description |
|---|---|
| eu.simuline.util |
Utility classes: very inhomogeneous.
|
| Modifier and Type | Class and Description |
|---|---|
private static class |
RealRepresentation.BigDecimalRep
Describes the representation of a
BigDecimal-value. |
private static class |
RealRepresentation.DoubleRep
Describes the representation of a double, resp. a Double-value.
|
| Modifier and Type | Method and Description |
|---|---|
static RealRepresentation |
RealRepresentation.create(double val,
boolean precision)
Converts the given
double number
to a RealRepresentation with the given precision. |
static RealRepresentation |
RealRepresentation.create(Number val)
Converts the given number
to a
RealRepresentation with the natural precision. |
static RealRepresentation |
RealRepresentation.create(Number val,
boolean precision)
Converts the given high precision representation of a real number
to a
RealRepresentation
preserving full precision if so specified. |
static RealRepresentation |
RealRepresentation.create(String val,
boolean precision)
Converts the given string representation of a real number
to a
RealRepresentation with the given precision. |
Copyright © 2012–2018 Simuline Organization (l2r). All rights reserved.