cnmdptst.c | 616 UNumberFormat *nnf; local 620 /* nnf = unum_open(UNUM_DEFAULT, NULL, &status); */ 621 nnf = unum_open(UNUM_DEFAULT, NULL,0,"en_US",NULL, &status); 626 roundingTest(nnf, 0.00159999, 4, "0.0016"); 627 roundingTest(nnf, 0.00995, 4, "0.01"); 629 roundingTest(nnf, 12.3995, 3, "12.4"); 631 roundingTest(nnf, 12.4999, 0, "12"); 632 roundingTest(nnf, - 19.5, 0, "-20"); 635 unum_close(nnf); 1021 UNumberFormat *nnf; local [all...] |