Fix for decimal precision bug in renderfooter

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Fix for decimal precision bug in renderfooter

stevepiercy
If you run Knop on 8.6.0.1, you need this bug fix.  The issue
appears in the grid object as "1 - 20.000000 of 115 found" in
the demo.  Apparently math_min likes to cast the values to
decimals.  :/

https://github.com/knop-project/knop/commit/fb6bb6783cc67b8d97dd9ccd36484cbabc405ff2

--steve

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- --
Steve Piercy               Web Site Builder              
Soquel, CA
<[hidden email]>                  <http://www.StevePiercy.com/>


--
#############################################################
This message is sent to you because you are subscribed to
the mailing list <[hidden email]>.
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
List archive http://lasso.2283332.n4.nabble.com/Knop-Framework-Discussion-f3157831.html
Project homepage http://montania.se/projects/knop/
Google Code has the latest downloads at http://code.google.com/p/knop/
Reply | Threaded
Open this post in threaded view
|

Re: Fix for decimal precision bug in renderfooter

Bil Corry-3
I tracked down an issue with lp_date_stringtodate in LP8.6 that ended up being math_abs returning a decimal.


- Bil

On Jun 10, 2012, at 1:56 AM, Steve Piercy - Web Site Builder <[hidden email]> wrote:

> If you run Knop on 8.6.0.1, you need this bug fix.  The issue appears in the grid object as "1 - 20.000000 of 115 found" in the demo.  Apparently math_min likes to cast the values to decimals.  :/
>
> https://github.com/knop-project/knop/commit/fb6bb6783cc67b8d97dd9ccd36484cbabc405ff2
>
> --steve
>
> -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
> Steve Piercy               Web Site Builder               Soquel, CA
> <[hidden email]>                  <http://www.StevePiercy.com/>
>
>
> --
> #############################################################
> This message is sent to you because you are subscribed to
> the mailing list <[hidden email]>.
> To unsubscribe, E-mail to: <[hidden email]>
> Send administrative queries to  <[hidden email]>
> List archive http://lasso.2283332.n4.nabble.com/Knop-Framework-Discussion-f3157831.html
> Project homepage http://montania.se/projects/knop/
> Google Code has the latest downloads at http://code.google.com/p/knop/

--
#############################################################
This message is sent to you because you are subscribed to
the mailing list <[hidden email]>.
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
List archive http://lasso.2283332.n4.nabble.com/Knop-Framework-Discussion-f3157831.html
Project homepage http://montania.se/projects/knop/
Google Code has the latest downloads at http://code.google.com/p/knop/