---
title: "Discussion on \"Why `math.floor(price * 0.7)` Is Wrong: Integer Math for Roblox Earnings in Luau\" | Hashnode"
description: "Discussion on \"Why `math.floor(price * 0.7)` Is Wrong: Integer Math for Roblox Earnings in Luau\". A 90 Robux game pass pays 63, not 62. Here's how to compute Robux fees, tax-covered prices and DevEx values without floating-point bugs."
url: "https://hashnode.com/posts/why-math-floor-price-0-7-is-wrong-integer-math-for-roblox-earnings-in-luau/6ae3991365d5bdacad52bb3a"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Why \`math.floor(price \* 0.7)\` Is Wrong: Integer Math for Roblox Earnings in Luau](https://fawazsheik.hashnode.dev/why-math-floor-price-0-7-is-wrong-integer-math-for-roblox-earnings-in-luau?utm_source=hashnode&utm_medium=feed)

A 90 Robux game pass pays 63, not 62. Here's how to compute Robux fees, tax-covered prices and DevEx values without floating-point bugs.

Oct 29 · 6 min read · fawazsheik.hashnode.dev  
Read the article

-   [#roblox](https://hashnode.com/tag/roblox)
-   [#luau](https://hashnode.com/tag/luau)
-   [#gamedev](https://hashnode.com/tag/gamedev)
-   [#programming-ciovqvfcb008mb253jrczo9ye](https://hashnode.com/tag/programming-ciovqvfcb008mb253jrczo9ye)
-   [#math](https://hashnode.com/tag/math)

## Written by

[fawaz sheik](https://hashnode.com/@mrdoom)

@mrdoom

  
[View profile](https://hashnode.com/@mrdoom)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
