Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/utils/Formatter.java @ 9612:f8308db94634
#20 UI, Diagramme
author | dnt_bjoernsen <d.tironi@bjoernsen.de> |
---|---|
date | Wed, 09 Oct 2019 16:17:16 +0200 |
parents | b9c87bbff6a4 |
children |
comparison
equal
deleted
inserted
replaced
9611:8ed6c45136fa | 9612:f8308db94634 |
---|---|
99 | 99 |
100 // S-INFO | 100 // S-INFO |
101 public static final int FLOWDEPTH_MAX_DIGITS = 2; | 101 public static final int FLOWDEPTH_MAX_DIGITS = 2; |
102 | 102 |
103 /** | 103 /** |
104 * Creates a NumberFormatter to format numbers with 3 significant figures. | |
105 * | |
106 * not used as real string output, only used to 'trim' numbers | |
107 * | |
108 */ | |
109 | |
110 public static final NumberFormat SIGINIFICANT_FORMATTER_3 = new DecimalFormat("##.#E0"); | |
111 | |
112 /** | |
104 * Creates a localized NumberFormatter with given range of decimal digits. | 113 * Creates a localized NumberFormatter with given range of decimal digits. |
105 * | 114 * |
106 * @param m | 115 * @param m |
107 * CallMeta to find the locale. | 116 * CallMeta to find the locale. |
108 * @param min | 117 * @param min |