Ay Pe Why

This commit is contained in:
RochesterX
2025-11-28 20:05:34 -05:00
parent 374ac4aff7
commit 5a8ad3a094
4 changed files with 7 additions and 4 deletions

View File

@@ -12,7 +12,8 @@ export function formatSalary(text) {
if (text == null) return "—";
try {
var millions = (parseInt(text, 10) / 1000000).toFixed(2);
//vah=r millions = (parseInt(text, 10) / 1000000).toFixed(2);
let millions = Math.round(parseInt(text, 10) / 1000000);
return `$${millions} million`;
} catch (e) {
return "Unknown format"