| Anonymous | Login | Signup for a new account | 11-01-2025 21:45 PDT |
| Main | My View | View Issues | Change Log | Docs |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ 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 | ||||||
| Status | closed | Product Version | 3.0.19 | ||||||
| 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; ?> |
||||||||
| Additional Information | |||||||||
| Attached Files | |||||||||
|
|
|||||||||
| Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |