Created
November 4, 2011 17:36
-
-
Save angel333/1339954 to your computer and use it in GitHub Desktop.
Odtrhávání nuly s tečkou...
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// .. odtrhneme zbytecnou tecku s nulou | |
if (vysledek.endsWith(".0")) | |
vysledek = vysledek.substring(0, vysledek.length() - 2); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment