April 27, 2020 at 12:00 am
Comments posted to this topic are about the item Rounding Fun
April 27, 2020 at 11:54 am
Fun question to start the week. Fun working with negative numbers in functions; one always needs to think a bit out of the box.
April 27, 2020 at 12:50 pm
Missed the "-"; that makes all the difference.
April 27, 2020 at 2:57 pm
Thanks Steve for this question. You can also try this:
SELECT ROUND(-7.7, 0, 1) as Round_truncated, CEILING(-7.7) as 'Ceiling';
GO
April 27, 2020 at 3:17 pm
Write me a question. George ๐
April 28, 2020 at 9:52 am
confidently answer question
get it wrong
re-read question
notice the "-"
facepalm
drink more coffee....
---------------------------------------------------------------------------------------
The more you know, the more you know that you dont know
April 29, 2020 at 1:24 pm
Nice one, thanks Steve
____________________________________________
Space, the final frontier? not any more...
All limits henceforth are self-imposed.
โlibera tute vulgaris exโ
Viewing 8 posts - 1 through 7 (of 7 total)
You must be logged in to reply to this topic. Login to reply