On 1/28/2016 9:32 AM, Gandalf Corvotempesta wrote:
> 2016-01-27 23:24 GMT+01:00 Gandalf Corvotempesta
> <gandalf.corvotempe...@gmail.com>:
>> I had this:
>>
>> $Conf{FullPeriod} = 27.97;
>>
>> now changed to
>>
>> $Conf{FullPeriod} = 7.97;
>>
>> just in case bpc was parsing only the first digit.
> I've also noticed that original configuration is using float values,
> but when saving from webinterfaces, all is converted to strings:
>
> Config saved by web interface:
> # grep '$Conf{FullPeriod}' config.pl
> $Conf{FullPeriod} = '6.97';
>
> Original config, prior saving from web.
> # grep '$Conf{FullPeriod}' config.pl.old
> $Conf{FullPeriod} = 7.97;
>
>
> In the first case, FullPeriod is a string, in the second, is a float.
> Now i'm trying with the "string" version..... let's see

This is Perl.  There is no real distinction between strings, integers, 
and floats.  7.97, '7.97', and "7.97" (along with a few other more 
obscure variants) will all be interpreted the same.

-- 
Bowie

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to