Functions for NLS |
Category: | DBCS |
Restriction: | I18N Level 2 |
Syntax | |
Arguments | |
Details |
Syntax |
KTRUNCATE(argument, number, length) |
specifies any SAS character expression.
is numeric.
is an integer.
Details |
The KTRUNCATE function truncates a full-length number (stored as a double) to a smaller number of bytes, as specified in length and pads the truncated bytes with 0s. The truncation and subsequent expansion duplicate the effect of storing numbers in less than full length and then reading them.
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.