Quiero insertar un código de moneda al frente si el valor no está vacío
<td class="table-cell">`+ iLowest + `</td> <td class="table-cell">`+oLowest + `</td> <td class="table-cell">`+ bLowest+ `</td> <td class="table-cell">`+ sLowest+ `</td>este es el código para obtener la cantidad más baja y ¿debería agregar la moneda aquí o verificar después?
for (let p = 0; p < element.availableCategories.length; p++) { let category = element.availableCategories[p]; console.log(category); if(category.cabinCategory.description.includes("BALCONY") && (category.price.total < bLowest || bLowest=== "-")){ bLowest = category.price.total; } if(category.cabinCategory.description.includes("PALACE") && (category.price.total < sLowest || sLowest=== "-")){ sLowest = category.price.total; } if(category.cabinCategory.description.includes("OCEANVIEW") && (category.price.total < oLowest || oLowest=== "-")){ oLowest = category.price.total; } if(category.cabinCategory.description.includes("INTERIOR") && (category.price.total < iLowest || iLowest=== "-")){ iLowest = category.price.total; } }