User not logged in - login - register
Home Calendar Books School Tool Photo Gallery Message Boards Users Statistics Advertise Site Info
go to bottom | |
 Message Boards » » CSC 112 / General fortran Question Page [1]  
Walls1441
All American
10000 Posts
user info
edit post

Is there a way to turn characters into integers assuming they are decimals?

4/19/2008 5:24:53 PM

Wraith
All American
27257 Posts
user info
edit post

Integers don't have decimals...

4/19/2008 5:34:51 PM

Walls1441
All American
10000 Posts
user info
edit post

nevermind i'll just do this the bruteforce way...

4/19/2008 5:36:45 PM

jessiejepp
All American
2732 Posts
user info
edit post

in VBA:

Csng() works. i dunno if there's a similar function for fortran.

4/19/2008 7:51:05 PM

ncsu919
All American
1067 Posts
user info
edit post

brute force way sucks man, i did that at first...and got my program to 3000 lines, read the book...and cut it to 850 lines, just because of one line.

4/19/2008 8:38:26 PM

Walls1441
All American
10000 Posts
user info
edit post

well considering the parameters of the assignment and this part of the assignment this didn't take more than 20-30 lines.

4/19/2008 10:20:42 PM

 Message Boards » Study Hall » CSC 112 / General fortran Question Page [1]  
go to top | |
Admin Options : move topic | lock topic

© 2024 by The Wolf Web - All Rights Reserved.
The material located at this site is not endorsed, sponsored or provided by or on behalf of North Carolina State University.
Powered by CrazyWeb v2.39 - our disclaimer.