Skip to content

Python Data Conversion

int() - convert to integer. Truncates - doesn't round.
str() - convert to string.
float() - convert to floating point.
round(num, decimals) - rounds a num to # decimal points.

tagcheck

tagcheck