round( notice that calling round like this results in an int value so simple call to round is an alternative way of converting float to an int if you want to round float into another float valueyou can do that by supplying second parameter that specifies the number of digits you want after the decimal point here' little interaction playing around with the value of pi from the math libraryimport math math pi round(math pi round(math pi, print(round(math pi ) print(round(math pi, ) notice that when we round pi to two or three decimal placeswe do not get exactly two or three decimal places in the result rememberfloats are always approximationswe get something that' very close to what we requested howeverthe last two interactions show something interesting about the python print statement python is smart enough to know that we probably don' want to see all the digits in something like so it actually prints out the rounded form that means if you write program that rounds off value to two decimal places and you print out the valueyou'll end up seeing two decimal placesjust like you expect in we'll see how to get even finer control over how numbers appear when printed summary this has filled in some important details concerning programs that do numerical computations here is quick summary of some key conceptsthe way computer represents particular kind of information is called data type the data type of an object determines what values it can have and what operations it supports python has several different data types for representing numeric valuesincluding int and float whole numbers are generally represented using the int data type and fractional values are represented using floats all of the python numeric data types support standardbuilt-in