| Anonymous | Login | Signup for a new account | 11-02-2025 11:27 PST |
| Main | My View | View Issues | Change Log | Docs |
| Viewing Issue Advanced Details [ Jump to Notes ] | [ View Simple ] [ Issue History ] [ Print ] | ||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
| 0001106 | [Quercus] | minor | always | 05-12-06 21:44 | 05-15-06 15:20 | ||||
| Reporter | koreth | View Status | public | ||||||
| Assigned To | ferg | ||||||||
| Priority | normal | Resolution | fixed | Platform | |||||
| Status | closed | OS | |||||||
| Projection | none | OS Version | |||||||
| ETA | none | Fixed in Version | 3.0.20 | Product Version | 3.0.19 | ||||
| Product Build | |||||||||
| Summary | 0001106: Modulo operator shouldn't return fractional values | ||||||||
| Description |
The "%" operator should always return an integer. In Zend PHP, 1.5 % 2 = 1. In Quercus, 1.5 % 2 = 1.5. (Arguably Quercus is doing the mathematically correct thing, but existing code will break.) <?php print 1.5 % 2; ?> |
||||||||
| Steps To Reproduce | |||||||||
| Additional Information | |||||||||
| Attached Files | |||||||||
|
|
|||||||||
| Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |