(string1, string2, precision=18)
| 201 | |
| 202 | @staticmethod |
| 203 | def string_div(string1, string2, precision=18): |
| 204 | if string1 is None or string2 is None: |
| 205 | return None |
| 206 | string2_precise = Precise(string2) |
| 207 | if string2_precise.integer == 0: |
| 208 | return None |
| 209 | return str(Precise(string1).div(string2_precise, precision)) |
| 210 | |
| 211 | @staticmethod |
| 212 | def string_add(string1, string2): |