HELP FILE | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
- 1

HELP FILE

Hello Gang, Is there a HELP FILE for searching program commands? I'm looking for how to round off a decimal number. THANK YOU GANG Barry

27th Dec 2017, 11:59 PM
Barry
2 Antworten
+ 11
Which programming language? Python, JavaScript, ... ?
28th Dec 2017, 12:02 AM
Eric Blinkidu
Eric Blinkidu - avatar
+ 4
Assuming Python (your registered skill) + Android... Little Drops Python Documentation (Google Play) Offline, indexed, searchable documentation Includes a copy of "Dive Into Python" Python is also self-documenting. You can use print() or immediate mode to... import decimal # extended floats # view docstrings decimal.__doc__ float.__doc__ # use the directory to get .method / .property names dir(decimal) dir(float) float.is_integer.__doc__ # 'Returns true if the float is an integer' # use the help system help(decimal) help(float.__round__)
28th Dec 2017, 4:11 AM
Kirk Schafer
Kirk Schafer - avatar