my $num = 100; my $digit = int ($num / ('1' . ('0' x int (length ($num) -1))));
In reply to Re^3: How to extract the first elemnet from an integer type value ???
by GrandFather
in thread How to extract the first elemnet from an integer type value ???
by sanjay nayak
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |