[q] floating-point number?

Janusz Michalak jwm at geo.uw.edu.pl
Sat Feb 13 09:54:51 EST 1999


Hello Sungwon,

On my knowledge, to convert 'integer_raster' to 'fp_raster'
you need enter:

r.mapcalc 'fp_raster'='integer_raster'*1.
                                        ^
                                        this dot is a key in this problem
Good luck.

Janusz Michalak
Warsaw University, Poland
email:jwm at geo.uw.edu.pl


On Sat, 13 Feb 1999, Sungwon Choi wrote:

> Hello, everybody!!!
> Is there anybody who has ever used 'r.mapcalc' in GRASS5.0beta?
> 
> Here is my problem..
> As far as I know, Grass 5.0beta can support a floating-point number..
> but, when I run 'r.mapcalc' in GRASS5.0beta, the result  is always a
> kind of integer..
> That frustrates me...
> 
> Can anybody explain to me what's the problem and how I can represent the
> floating-point number?
> 
> Thanks in advance...
> 
>             Best Regards
>              Sungwon Choi
> 
> --------------------------------------
> Sungwon Choi
> GIS LAB.
> Center for Mineral Resources Research
> Korea University, Seoul, Korea
> Tel +82-2-953-1676
> Email : earthcom at cmrgis.korea.ac.kr
> Good Luck!!!
> -------------------------------------
> 
> 



More information about the grass-user mailing list