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)
| 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 |
no test coverage detected