# Path: chIceCash.py
# def _round(V,n):
#     fmt = "%."+str(n)+"f"
#     return fmt % round(V,n)
#     
#     z=str(V.__format__(".4f")).split(".")
#     if len(z)<2:
#         return str(V)
#     else:
#         d=int(z[0])
#         f=z[1].ljust(n,"0")
#     l=len(f)
#     a=[]
#     for i in range(l):
#         a.append(int(f[i]))
#     r=range(l)[n:]
#     r.reverse()
#     x=range(l)[:n]
#     x.reverse()
#     ost=0
#     for i in r:
#         a[i]+=ost
#         if a[i]>=5:
#             ost=1
#         else:
#             ost=0
#     for i in x:
#         a[i]+=ost
#         if a[i]>9:
#             a[i]=0
#             ost=1
#         else:
#             ost=0
#             break
#     d+=ost
#     s=""
#     for i in range(n):
#         s+=str(a[i])
#     if n>0:
#         s="."+s
#     result=str(d)+s
#     return result


import my
import os
import re
import tbIceCash as tbs
import datetime
from chIceCash import _round
from md5 import md5
#!/usr/bin/python
# -*- coding: utf-8
# version 2.000
# DataBase for IceCash

DATABASE = "IceCash"
MYSQL_USER = "icecash"
MYSQL_PASSWORD = "icecash1024"
TB_BOXES_HD  = "tb_boxes_hd"

# Path: chIceCash.py
# def _round(V,n):
#     fmt = "%."+str(n)+"f"
#     return fmt % round(V,n)
#     
#     z=str(V.__format__(".4f")).split(".")
#     if len(z)<2:
#         return str(V)
#     else:
#         d=int(z[0])
#         f=z[1].ljust(n,"0")
#     l=len(f)
#     a=[]
#     for i in range(l):
#         a.append(int(f[i]))
#     r=range(l)[n:]
#     r.reverse()
#     x=range(l)[:n]
#     x.reverse()
#     ost=0
#     for i in r:
#         a[i]+=ost
#         if a[i]>=5:
#             ost=1
#         else:
#             ost=0
#     for i in x:
#         a[i]+=ost
#         if a[i]>9:
#             a[i]=0
#             ost=1
#         else:
#             ost=0
#             break
#     d+=ost
#     s=""
#     for i in range(n):
#         s+=str(a[i])
#     if n>0:
#         s="."+s
#     result=str(d)+s
#     return result


# Path: dbIceCash.py
import my
import os
import re
import tbIceCash as tbs
import datetime
from chIceCash import _round
from md5 import md5

#!/usr/bin/python
# -*- coding: utf-8
# version 2.000
# DataBase for IceCash

DATABASE = "IceCash"
MYSQL_USER = "icecash"
MYSQL_PASSWORD = "icecash1024"
TB_BOXES_HD  = "tb_boxes_hd"

TB_BOXES_CT  = "tb_boxes_ct"