def getRoundedToPlacesString(decimalPlaces, number):
 roundedToPlaces = getRoundedToPlaces(decimalPlaces, number)
 roundedToPlacesString = str(roundedToPlaces)
 if ('e' in roundedToPlacesString):
  return ('%.15f' % roundedToPlaces).rstrip('0')
 return roundedToPlacesString

def getRoundedToPlacesString ( decimalPlaces , number ) : roundedToPlaces = getRoundedToPlaces ( decimalPlaces , number ) roundedToPlacesString = str ( roundedToPlaces ) if ( 'e' in roundedToPlacesString ) : return ( '%.15f' % roundedToPlaces ) . rstrip ( '0' ) return roundedToPlacesString
get number rounded to a number of decimal places as a string .