changed nsdecimalnumbers to long doubles