I need a function to check an inputed number if can be perfectly squared. Just checking the last two digits makes this possible.
00
01
04
09
16
21
24
25
29
36
41
44
49
56
61
64
69
76
81
84
89
96
i have found references to such functions (issquare), but no source. if someone could help me out that would be great.
i have thought about parsing the last two digits and checking them against an array of the above possibilities. i am just not sure of the best solution. please help me construct something.
thanks,
skeptik
(i hope this makes sense.)