/ DECIMAL: Check whether the numerical value is equal to 0. */ /
| 1778 | /* DECIMAL: Check whether the numerical value is equal to 0. */ |
| 1779 | /***********************************************************************/ |
| 1780 | bool DECVAL::IsZero(void) |
| 1781 | { |
| 1782 | for (int i = 0; Strp[i]; i++) |
| 1783 | if (!strchr("0 +-.", Strp[i])) |
| 1784 | return false; |
| 1785 | |
| 1786 | return true; |
| 1787 | } // end of IsZero |
| 1788 | |
| 1789 | /***********************************************************************/ |
| 1790 | /* DECIMAL: Reset value to zero. */ |
no outgoing calls
no test coverage detected