0
> df1$Coupon.Rate[1]==0.103
[1] TRUE

> df1$Face.Value[1]==100
[1] TRUE

> df1$Coupon.Rate[1]*df1$Face.Value[1]==10.3
[1] FALSE

How is it possible for true/false values to not be consistent like this? The formats are num and int. Don't exactly know how to describe the problem apart from a logical inconsistency...

Konrad Rudolph
  • 506,650
  • 124
  • 909
  • 1,183

0 Answers0