use FormatMoney everywhere

This commit is contained in:
Marco Antonio J. Costa
2025-10-08 05:36:37 -03:00
committed by majcosta
parent 0dd32c4670
commit 3d29eff4d8
25 changed files with 160 additions and 477 deletions
+1 -8
View File
@@ -6165,15 +6165,8 @@ BOOLEAN ReplaceMercNameAndAmountWithProperData( CHAR16 *pFinishedString, EmailPt
}
else
{
CHAR16 sDollarAmount[64];
swprintf( sDollarAmount, L"%d", pMail->iFirstData );
InsertCommasForDollarFigure( sDollarAmount );
InsertDollarSignInToString( sDollarAmount );
//add the mercs name to the string
wcscat( pFinishedString, sDollarAmount );
wcscat( pFinishedString, FormatMoney(pMail->iFirstData).data() );
}
}
else