Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MrMohebi committed Apr 10, 2024
1 parent 1a3047b commit 914121d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion composables/tdee/useTdee.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const useTdee = () => {

const requiredProtein = computed(():[number,number]=>{
if(!!weight.value && weight.value > 0){
return [weight.value*1.2, weight.value*2.2]
return [Math.round(weight.value*1.2), Math.round(weight.value*2.2)]
}
return [-1, -1]
})
Expand Down

0 comments on commit 914121d

Please sign in to comment.