let({
salatFullWeight: 100,
tomat: salatFullWeight * 0.4,
ruccola: salatFullWeight * 0.3,
buratta: salatFullWeight * 0.3,
tomatP: 1.1,
tomatF: 0.2,
tomatC: 3.7,
tomatK: 20,
tomatW: tomat,
ruccolaP: 2.58,
ruccolaF: 0.66,
ruccolaC: 2.05,
ruccolaK: 25,
ruccolaW: ruccola,
burattaP: 0,
burattaF: 35,
burattaC: 0,
burattaK: 330,
burattaW: buratta,
fullK: (tomatK * (tomatW/100)) +
(ruccolaK * (ruccolaW/100)) +
(burattaK * (burattaW/100)),
fullP: (tomatP * (tomatW/100)) +
(ruccolaP * (ruccolaW/100)) +
(burattaP * (burattaW/100)),
fullF: (tomatF * (tomatW/100)) +
(ruccolaF * (ruccolaW/100)) +
(burattaF * (burattaW/100)),
fullC: (tomatC * (tomatW/100)) +
(ruccolaC * (ruccolaW/100)) +
(burattaC * (burattaW/100)),
},
"Калорийность: " & fullK &
" Белки: " & fullP &
" Жиры: " & fullF &
" Углеводы: " & fullC
)
let({
porcion: 250,
person: 7,
fullWeightSalad: porcion * person /* общий вес салата */,
tomatWeight: fullWeightSalad * 0.4,
rucolaWeight: fullWeightSalad * 0.3,
burattaWeight: fullWeightSalad * 0.3,
tomat: {"p": 1.1, "f": 0.2, "c": 3.7, "k": 20},
rucola: {"p": 2.6, "f": 0.7, "c": 3.7, "k": 25},
buratta: {"p": 17, "f": 20, "c": 1.8, "k": 255},
tomatP: tomatWeight * tomat.p / 100,
tomatF: tomatWeight * tomat.f / 100,
tomatC: tomatWeight * tomat.c / 100,
tomatK: tomatWeight * tomat.k / 100,
rucolaP: rucolaWeight * rucola.p / 100,
rucolaF: rucolaWeight * rucola.f / 100,
rucolaC: rucolaWeight * rucola.c / 100,
rucolaK: rucolaWeight * rucola.k / 100,
burattaP: burattaWeight * buratta.p / 100,
burattaF: burattaWeight * buratta.f / 100,
burattaC: burattaWeight * buratta.c / 100,
burattaK: burattaWeight * buratta.k / 100,
},
"Общий выход: " & fullWeightSalad & " г. | " &
"Белки: " & round(tomatP + rucolaP + burattaP, 1) & " г. | " &
"Жиры: " & round(tomatF + rucolaF + burattaF, 1) & " г. | " &
"Углеводы: " & round(tomatC + rucolaC + burattaC, 1) & " г. | " &
"Калорийность: " & round(tomatK + rucolaK + burattaK, 1) & " ккал. | "
)
Подзаголовок секции с кратким описанием того, что внутри секции.