Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
C
cast from float to long c
developersaumya
Programming language:
C
2021-03-21 10:54:09
1
Q:
cast from float to long c
snamstorm
Code:
C
2021-04-21 21:33:30
float a = 1.0; long b = (long)a // variable b now equals variable a which has been cast to long
0
Tags
long
Related
How to Convert double to int in C
convert string to float c
convert a float to binary c
c float to int
what is a long long int in c
glsl int to float
int to float c
New to Communities?
Join the community