POV-Ray : Newsgroups : povray.general : Turn a string of digits into a number? : Re: Turn a string of digits into a number? [solved] Server Time
19 Aug 2022 18:38:24 EDT (-0400)
  Re: Turn a string of digits into a number? [solved]  
From: Alain Martel
Date: 3 Dec 2021 11:10:40
Message: <61aa4180$1@news.povray.org>
Le 2021-12-02 à 19:20, Jonathan Bush a écrit :
> "Bald Eagle" <cre### [at] netscapenet> wrote:
>> "Jonathan Bush" <djb### [at] gmxcom> wrote:
>>> String functions for POVray include ways to turn a numerical value into a
>>> string. But is there a function to do the converse, turn a string of digits into
>>> an integer?
>> You want val().
>> http://www.povray.org/documentation/view/3.6.1/228/
>> val(S) Convert string S to float. Returns a float value that is represented by
>> the text in string S. For example val("123.45") is 123.45 as a float.
> Thank you! I missed that. I don't see any way to change the subject to include
> the word Solved, using a browser.
In a news group, you can't change the title of the thread. All you can 
do is change the title of your reply like I did in Thinderbird.

Post a reply to this message

Copyright 2003-2021 Persistence of Vision Raytracer Pty. Ltd.