PDI-10840, PDI-10409 - Fix samples failed because of strict number
conversion
Merge pull request #223 from askdzmitry

PDI-10840, PDI-10409 - Fix samples failed because of strict number conversion