sas iml - Making SAS handle very small numbers without rounding -


i have range of large (4- or 5-digit) numbers, need raise -1 power. because numbers large, going small when raised power. when in sas (using elementwise operator), numbers in output rounded(?) -1. nothing lot of minus ones output.

is indeed result of rounding? can around formatting output in way? if so, syntax this? again, sorry asking such simple things, i'm utterly new sas.

code:

proc iml;    use sasdata.have;    read var {distance} d;    print d;    dmin = -1##d;    print dmin; quit; 

your problem you're raising -1 power of 5000 (or whatever), opposed opposite.

proc iml;    use work.have;    read var {distance} d;    print d;    dmin = d##-1;    print dmin; quit; 

Comments

Popular posts from this blog

php - Invalid Cofiguration - yii\base\InvalidConfigException - Yii2 -

How to show in django cms breadcrumbs full path? -

ruby on rails - npm error: tunneling socket could not be established, cause=connect ETIMEDOUT -