Lines Matching refs:iDec2

949   int iDec2;  in AFNumber_Format()  local
952 strValue = fcvt(dValue, iDec, &iDec2, &iNegative); in AFNumber_Format()
955 strValue = fcvt(dValue, iDec, &iDec2, &iNegative); in AFNumber_Format()
958 iDec2 = 1; in AFNumber_Format()
962 if (iDec2 < 0) { in AFNumber_Format()
963 for (int iNum = 0; iNum < abs(iDec2); iNum++) { in AFNumber_Format()
966 iDec2 = 0; in AFNumber_Format()
969 if (iDec2 > iMax) { in AFNumber_Format()
970 for (int iNum = 0; iNum <= iDec2 - iMax; iNum++) { in AFNumber_Format()
973 iMax = iDec2 + 1; in AFNumber_Format()
977 if (iDec2 < iMax) { in AFNumber_Format()
979 strValue.Insert(iDec2, '.'); in AFNumber_Format()
982 strValue.Insert(iDec2, ','); in AFNumber_Format()
986 if (iDec2 == 0) in AFNumber_Format()
987 strValue.Insert(iDec2, '0'); in AFNumber_Format()
996 for (int iDecPositive = iDec2 - 3; iDecPositive > 0; iDecPositive -= 3) { in AFNumber_Format()
1238 int iDec2; in AFPercent_Format() local
1240 strValue = fcvt(dValue, iDec, &iDec2, &iNegative); in AFPercent_Format()
1243 strValue = fcvt(dValue, iDec, &iDec2, &iNegative); in AFPercent_Format()
1246 if (iDec2 < 0) { in AFPercent_Format()
1247 for (int iNum = 0; iNum < abs(iDec2); iNum++) { in AFPercent_Format()
1250 iDec2 = 0; in AFPercent_Format()
1253 if (iDec2 > iMax) { in AFPercent_Format()
1254 for (int iNum = 0; iNum <= iDec2 - iMax; iNum++) { in AFPercent_Format()
1257 iMax = iDec2 + 1; in AFPercent_Format()
1261 if (iDec2 < iMax) { in AFPercent_Format()
1263 strValue.Insert(iDec2, '.'); in AFPercent_Format()
1266 strValue.Insert(iDec2, ','); in AFPercent_Format()
1270 if (iDec2 == 0) in AFPercent_Format()
1271 strValue.Insert(iDec2, '0'); in AFPercent_Format()
1280 for (int iDecPositive = iDec2 - 3; iDecPositive > 0; iDecPositive -= 3) { in AFPercent_Format()