![]() |
|
Archives of the TeradataForumMessage Posted: Thu, 10 Apr 2003 @ 14:35:10 GMT
Hi, Pls try like this. set vDisplay1 = cast(5.0/2.0 as decimal(4,2)); or set vDisplay1 = cast(5.0/2 as decimal(4,2)); or set vDisplay1 = cast(5/2.0 as decimal(4,2));
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||