Created
May 27, 2017 02:53
-
-
Save kezzardrix/45bb65e22ea647f17a69f5409e3894b3 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| string toDoubleDigit(int num){ | |
| string str; | |
| if(num < 10)str = "0" + ofToString(num); | |
| else str = ofToString(num); | |
| return str; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment