# coding: utf8
from decimal import Decimal

def money_format(ammount):
	"""Format an ammount in pence as an ammount in GBP."""
	d = Decimal(ammount) / Decimal("100")
	return u'£%s' % d.quantize(Decimal("0.01"))

def money_parse(ammount):
	"""Convert a string in GBP into a number of pence.
	Rounds down to the nearest penny."""
	return int(Decimal(ammount) * 100)

bffc5b5964c6b3e943832bed9401c40d00f1640f
<mask token>

<mask token>


def money_parse(ammount):
    """Convert a string in GBP into a number of pence.
	Rounds down to the nearest penny."""
    return int(Decimal(ammount) * 100)

<mask token>


def money_format(ammount):
    """Format an ammount in pence as an ammount in GBP."""
    d = Decimal(ammount) / Decimal('100')
    return u'£%s' % d.quantize(Decimal('0.01'))


def money_parse(ammount):
    """Convert a string in GBP into a number of pence.
	Rounds down to the nearest penny."""
    return int(Decimal(ammount) * 100)

from decimal import Decimal


def money_format(ammount):
    """Format an ammount in pence as an ammount in GBP."""
    d = Decimal(ammount) / Decimal('100')
    return u'£%s' % d.quantize(Decimal('0.01'))


def money_parse(ammount):
    """Convert a string in GBP into a number of pence.
	Rounds down to the nearest penny."""
    return int(Decimal(ammount) * 100)

# coding: utf8
from decimal import Decimal

def money_format(ammount):
	"""Format an ammount in pence as an ammount in GBP."""
	d = Decimal(ammount) / Decimal("100")
	return u'£%s' % d.quantize(Decimal("0.01"))

def money_parse(ammount):
	"""Convert a string in GBP into a number of pence.
	Rounds down to the nearest penny."""
	return int(Decimal(ammount) * 100)
