const abs = Math.abs; const value = -5.9 |> abs |> Math.floor;