# Comment added
[ smoe](https://hosted.weblate.org/user/smoe/ "Steffen Möller"): [Hosted Weblate](https://hosted.weblate.org) / [LinuxCNC](https://hosted.weblate.org/projects/linuxcnc/) / [LinuxCNC Documentation](https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/) / [English](https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/en/) ## Source string Implicit tests for zero should not be used except for boolean variables. e.g. if (spindle_speed != 0) NOT if (spindle_speed) ## Source string description type: Plain text ## Comment Comparisons with 0 for floats is of course problematic, but for integers? This needs an explanation. [Edit this string](https://hosted.weblate.org/translate/linuxcnc/linuxcnc- docs/en/?checksum=771a421c51815b80#comments) ## Source string location [src/code/style- guide.adoc:237](https://github.com/LinuxCNC/linuxcnc/blob/master/docs/src/code/style- guide.adoc?plain=1#L237) ## Translation Info All strings | [ 31,141 ](https://hosted.weblate.org/translate/linuxcnc/linuxcnc-docs/en/) | -------------------------------------------------------------------|-----------|---- Translated strings | [ 31,141 ](https://hosted.weblate.org/translate/linuxcnc/linuxcnc- docs/en/?q=state:>=translated) | [ 100% ](https://hosted.weblate.org/translate/linuxcnc/linuxcnc- docs/en/?q=state:>=translated) Untranslated strings | [ 0 ](https://hosted.weblate.org/translate/linuxcnc/linuxcnc- docs/en/?q=state:empty) | [ 0% ](https://hosted.weblate.org/translate/linuxcnc/linuxcnc- docs/en/?q=state:empty) Unfinished strings | [ 0 ](https://hosted.weblate.org/translate/linuxcnc/linuxcnc- docs/en/?q=state:<translated) | [ 0% ](https://hosted.weblate.org/translate/linuxcnc/linuxcnc- docs/en/?q=state:<translated) Strings marked for edit | [ 0 ](https://hosted.weblate.org/translate/linuxcnc/linuxcnc- docs/en/?q=state:needs-editing) | [ 0% ](https://hosted.weblate.org/translate/linuxcnc/linuxcnc- docs/en/?q=state:needs-editing) [View](https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/en/) [Weblate, the libre continuous localization system.](https://weblate.org/) Generated on June 11, 2022, 2:18 a.m..
_______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers