We need your help! 🔥
Please consider disabling your ad-blocker to support this website! 🔑
We are a free, community-supported website! 🥰
We only display small unobtrusive ads which help us stay online! 💯
Thank you in advance! ❤️
01 | Input
02 | Output
03 | Quantity
04 | Data Organization
05 | Flow

Set Precision

Set the precision of a quantity. Precision may have different meanings on different quantities. See manual or example for more information.

Inputs

NameIDDescriptionType
QuantityQQuantityPancake.GH.Params.GhQuantity
PrecisionPPrecision. For decimal quantities, the precision is how many digits are preserved after the decimal point. For feet and inch length, the precision is the minimal fraction to be preserved. e.g. Precision = 64 will yield 1 / 64 as the smallest stepping. Precision doesn't need to be a power of two.Integer

Outputs

NameIDDescriptionType
Adjusted QuantityQAdjusted QuantityPancake.GH.Params.GhQuantity
Lost Accuracy?L?Return if internal accuracy has lost during precision resetting. If the accuracy is not lost, you can fully return to the original value by raising the precision of the adjusted quantity (use this component again). Otherwise you cannot.Boolean

Site design © Robin Rodricks.   Site co-created by Andrew Heumann.   Pancake and associated data © 2024 Keyu Gan.  
Rhinoceros and Grasshopper are registered trademarks of Robert McNeel & Associates.  Hosted by GitHub

Report an Issue  |  Terms of Service