Each floating-point number should be formatted that only the first two decimal places are returned. You don't need to check whether the input is a valid number because only valid numbers are used in the tests.  

Don't round the numbers! Just cut them after two decimal places!
```
Right examples:  
32.8493 is 32.84  
14.3286 is 14.32

Incorrect examples (e.g. if you round the numbers):  
32.8493 is 32.85  
14.3286 is 14.33
```

Source: codewars | Difficulty: EASY
Tags: Fundamentals

Starter code: def two_decimal_places(number):
	

Solutions:
def two_decimal_places(number):
	return int(number * 100) / 100.0


from math import trunc

def two_decimal_places(number):
	factor = float(10 ** 2)
	return trunc(number * factor) / factor


def two_decimal_places(number):
	number = str(number)
	return float(number[:number.index('.') + 3])


import math

def two_decimal_places(number):
	return math.trunc(number * 100.0) / 100.0


def two_decimal_places(number):
	a = int(number * 100)
	b = float(a)
	c = b / 100
	return c


from decimal import *

def two_decimal_places(number):
	return float(Decimal(str(number)).quantize(Decimal('.01'), rounding=ROUND_DOWN))


from math import floor, ceil

def two_decimal_places(number):
	if number >= 0:
		return floor(number * 100) / 100
	else:
		return ceil(number * 100) / 100


def two_decimal_places(number):
	string = str(number)
	n = string.find('.')
	return float(string[0:n + 3])