<filename>mall_spider/utils/money_util.py<gh_stars>10-100
# coding: utf-8

def yuan_2_cent(yuan):
    return str(int(float(yuan) * 100))


def cent_2_yuan(cent):
    return str(int(float(cent) / 100))

<filename>mall_spider/utils/money_util.py<gh_stars>10-100
# coding: utf-8

def yuan_2_cent(yuan):
    return str(int(float(yuan) * 100))


def cent_2_yuan(cent):
    return str(int(float(cent) / 100))

# coding: utf-8