Mathematical Calculation Field, "Less-Than" function has Logical Error
- Status
- Open
- Subject
- Mathematical Calculation Field, "Less-Than" function has Logical Error
- Version
- 24.x
- Category
- Bug
- Feature
- Advanced Rating Language / Mathematical calculation tracker field
Trackers - Resolution status
- New
- Submitted by
- Kevin Doyle
- Lastmod by
- Kevin Doyle
- Rating
- Description
Create a tracker with a Numeric and a Mathematical Calculation Field.
I want to append a zero to numbers less than 10 to patch a tracker sort order listing issue
(if (less-than testingtrackerNum 10)
(concat 0 testingtrackerNum) testingtrackerNum
)The above function adds a zero to any number less than 11. Even though the upper test limit is 10.
So the test (less-than 10 10) will be true, which is not the case in reality .
Look at the attached screen grab too- Files
- Importance
- 5
- Easy to solve?
- 5
- Priority
- 25
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 8288
- Created
- Monday 02 January, 2023 02:03:48 UTC
by Kevin Doyle - LastModif
- Saturday 06 July, 2024 10:21:44 UTC