Skip to content

New property in JBFL language: padDecimals #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 1, 2025

Conversation

webdevred
Copy link
Owner

This adds a JBFL property which lets users pad numbers to have at least a certain number of decimals.

Example:
PadDecimals value: 3
Input: "10.1"
Output: "10.100"

webdevred added 3 commits June 1, 2025 22:16
padZeros is no longer needed to the addition of padDecimals.
@webdevred webdevred force-pushed the jbfl_pad_decimals_property branch from 6eb4f38 to 8a5e870 Compare June 1, 2025 20:38
@webdevred webdevred marked this pull request as ready for review June 1, 2025 20:40
@webdevred webdevred merged commit 4dd4a36 into master Jun 1, 2025
1 check passed
@webdevred webdevred deleted the jbfl_pad_decimals_property branch June 1, 2025 20:42
webdevred added a commit that referenced this pull request Jun 2, 2025
* added JBFL property padDecimals
* updated sample rules.jbfl
* remove padZeros since it is no longer needed due to the addition of padDecimals
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant