WordPress.org

Ready to get started?Download WordPress

Forums

Jazzy Forms
Rounding (2 posts)

  1. thedavidpearson
    Member
    Posted 2 years ago #

    I was wondering if you ever got around to adding a rounding feature. I might be missing something obvious, but I think that that isn't a feature yet. Let me know.

    http://wordpress.org/extend/plugins/jazzy-forms/

  2. jazzigor
    Member
    Plugin Author

    Posted 2 years ago #

    Similar to common spreadsheet programs, there are two ways of rounding numbers.

    The first one is the use of Output elements' Number Formatting options. There, among other things, you can choose to limit the number of decimals. In that case the nearest value with that number of decimals is displayed. Note that this doesn't modify the value as such, only the way it is presented.

    If you need more control over rounding (up/down/different steps etc.) and you want to really modify the value for further usage, you can also choose to apply the following functions: ROUND, ROUNDUP, ROUNDDOWN, MROUND. Although not documented yet, they should behave just like their spreadsheat counterparts.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic