Anonymous | Login | Signup for a new account | 2024-03-28 15:51 CDT |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
Relationship Graph | [ View Issue ] [ Dependency Graph ] | |||
|
||||
|
Viewing Issue Simple Details | |||||
ID | Category | Type | Reproducibility | Date Submitted | Last Update |
0001143 | [In-Portal CMS] Data Management | bug report | always | 2011-10-17 05:39 | 2012-07-25 05:33 |
Reporter | alex | View Status | public | ||
Assigned To | alex | ||||
Priority | normal | Resolution | fixed | ||
Status | closed | ||||
Summary | 0001143: Ability to cut trailing zeros from field value being displayed | ||||
Description |
In-Portal has powerful number formatting engine, that allows to format numbers, stored in database in the way you need using sprintf function. However I recently stumbled upon situation, where I need to remove trailing spaces from a formatted number, that was displayed, e.g. make "545.00" appear as "545", but keep "345.22" as is. Patch attached gives ability to enable such behavior for any database field needed via adding "cut_zeros" option to field definition in unit config. |
||||
Additional Information |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
Web Development by Intechnic In-Portal Open Source CMS |