(string1: Str, string2: Str, precision = 18)
| 183 | } |
| 184 | |
| 185 | static stringDiv (string1: Str, string2: Str, precision = 18) { |
| 186 | if ((string1 === undefined) || (string2 === undefined)) { |
| 187 | return undefined; |
| 188 | } |
| 189 | const string2Precise = new Precise (string2); |
| 190 | if (string2Precise.integer === zero) { |
| 191 | return undefined; |
| 192 | } |
| 193 | return (new Precise (string1)).div (string2Precise, precision).toString (); |
| 194 | } |
| 195 | |
| 196 | static stringAdd (string1: Str, string2: Str) { |
| 197 | if ((string1 === undefined) || (string2 === undefined)) { |
no test coverage detected