(Object a, Object b)
| 349 | } |
| 350 | |
| 351 | public static Object mod(Object a, Object b) { |
| 352 | if (a == null || b == null) return null; |
| 353 | a = normalizeIntIfNeeded(a); |
| 354 | b = normalizeIntIfNeeded(b); |
| 355 | if (a instanceof String || a instanceof Long || a instanceof Integer || a instanceof Double) { |
| 356 | return toDouble(a) % toDouble(b); |
| 357 | } |
| 358 | return null; |
| 359 | } |
| 360 | |
| 361 | public static Object add(Object a, Object b) { |
| 362 | a = normalizeIntIfNeeded(a); |