Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

number to string

#include<stdio.h> 
#include <math.h>
int main() 
{ 
    char str[80]; 
 
    sprintf(str, "The value of PI = %f", M_PI); 
    puts(str);

    return 0;
}
Source by www.interviewbit.com #
 
PREVIOUS NEXT
Tagged: #number #string
ADD COMMENT
Topic
Name
5+4 =