Perl Code Examples |
| Rounding |
| Rounds a number to the specified number of decimal places. |
|
|
| Build a Set Value for MySQL |
The purpose of this routine is to build the set value for an SQL INSERT or UPDATE.
This could be used to build WHERE clauses by changing $comma to AND or OR as appropriate.
|
|
|
| Comma Edit a Number |
| Inserts commas in a number. |
|
|
| Extract and Validate a Date |
| Output format is YYYY-MM-DD. If needed, add handling to convert 2 digit years. |
|
|