Grasshopper Docs

Community documentation for Grasshopper add-ons & plugins

01 | Input
02 | Output
03 | Quantity
04 | Data Organization
05 | Flow

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.   Co-created by Andrew Heumann.   Pancake and associated data © 2020 Keyu Gan.  
Rhinoceros and Grasshopper are registered trademarks of Robert McNeel & Associates.  Hosted by GitHub

Report an Issue  |  Terms of Service