public class DegreeUnit extends Unit
abbreviation, ANGLE_UNIT, AREA_UNIT, LENGTH_UNIT, name, plural, value, VOLUME_UNIT
Constructor and Description |
---|
DegreeUnit() |
Modifier and Type | Method and Description |
---|---|
String |
format(double n) |
String |
format(double n,
boolean abbrev) |
String |
format(double x,
double y,
boolean abbrev) |
double |
parse(String s) |
public double parse(String s) throws NumberFormatException
parse
in class Unit
NumberFormatException
Copyright © 2021. All rights reserved.