MCPcopy Create free account
hub / github.com/rambaut/figtree / format

Method format

src/figtree/ui/RomanFormat.java:44–47  ·  view source on GitHub ↗

This method returns null. I have found no meaningful translation of floating point numbers to Roman numerals, however the NumberFormat method requires that it is implemented. Perhaps should just cast the double to a long and format accordingly.

(double n, StringBuffer a, FieldPosition p)

Source from the content-addressed store, hash-verified

42 */
43
44 public StringBuffer format(double n, StringBuffer a, FieldPosition p)
45 {
46 return format((long)n, a, p);
47 }
48
49
50 /** This nested class is used to map Roman symbols onto their numerical

Callers 12

getStringMethod · 0.45
octprintMethod · 0.45
getStringMethod · 0.45
getStringMethod · 0.45
getLabelMethod · 0.45
formatValueMethod · 0.45
calibrateMethod · 0.45
paintMethod · 0.45
getMaxTickLabelWidthMethod · 0.45
paintMajorTickMethod · 0.45
getLabelMethod · 0.45
formatValueMethod · 0.45

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected