public class Unit extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Unit.Memory |
static class |
Unit.Time |
| Constructor and Description |
|---|
Unit() |
| Modifier and Type | Method and Description |
|---|---|
static String |
format(double value,
Unit.Memory source,
int precision)
Choice better target unit for this value.
|
static String |
format(double value,
Unit.Memory source,
Unit.Memory target,
int precision) |
static String |
format(double value,
Unit.Time source,
int precision)
Choice better target unit for this value.
|
static String |
format(double value,
Unit.Time source,
Unit.Time target,
int precision) |
public static String format(double value, Unit.Memory source, Unit.Memory target, int precision)
public static String format(double value, Unit.Memory source, int precision)
value - source - precision - Copyright © 2004–2014 CodeLutin. All rights reserved.