[R] Format wanted...

Hasan Diwan hasan.diwan at gmail.com
Mon Mar 26 02:09:40 CEST 2012


Duncan,

On 25 March 2012 15:28, Duncan Murdoch <murdoch.duncan at gmail.com> wrote:
> In case anyone is interested, I want to output code in a language (GLSL)
> that sees 1 and 1. as different types.  I want a floating point value, so I
> need the decimal point.

GLSL, assuming it's the one that I'm looking at[1], supports implicit
conversion from integer to float by appending ".0" to the end.

-- 
Sent from my mobile device
Envoyait de mon portable
1. http://www.opengl.org/wiki/GLSL_Types#Implicit_conversion



More information about the R-help mailing list