Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~591 People Reached
Favorite Forums
Favorite Tags
Member Avatar for Perlhelp

Hi All, I have a simple perl script which subtracts two variables holding decimal numbers and the results is not as expected. $a = 417747646.853143 $b = 417747646.853142 $c = $a-$b expected result = $0.000001 actual result = -9.5367431640625e-07 any idea on why I am getting wrong results?

Member Avatar for jon.kiparsky
0
73
Member Avatar for Perlhelp

Hi All, I have two files to compare. Each has 10 columns with first 4 columns being key index together. The rest of the columns have monetary values. I want to read one file into hash; check for the key value availability in file 2; then compare the values in …

Member Avatar for Perlhelp
0
390
Member Avatar for Perlhelp

Hi, I want to search the log file for a string and extract all data until the end of that line where the search string is found. For example: A line in the file reads like below: [28/04/2010 11:17:53 GMT]PositionPoolCalculation.java(339):getPosCalculation[INFO]BUNP: B123456:1234567:ABCD ANP: B123456:1234567:ABCD:2 post LCN: DESabcdefgh I want to search …

Member Avatar for Perlhelp
0
128