Issue Details (XML | Word | Printable)

Key: CORE-1340
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Adriano dos Santos Fernandes
Reporter: fabianobonin
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.
Firebird Core

Add a scale parameter to TRUNC function

Created: 02/Jul/07 07:20 PM   Updated: 19/Jan/16 05:06 AM
Component/s: Engine
Affects Version/s: None
Fix Version/s: 2.1 Beta 2

QA Status: No test

 Description  « Hide
Maybe the new TRUNC built-in function would benefit more users, specially accounting and finantial system users, if it had a second parameter to specify the scale, like ROUND does.

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Richard Wesley added a comment - 05/Jul/07 02:16 PM
It would also be nice if we could extend it to truncate temporal data types (e.g. the date-trunc function in Postgres).

Philippe Makowski added a comment - 08/Dec/08 09:21 AM
Q/A test ok