I'm concerned we're going to break someone's app.

Another scenario I thought of was the 50 cent scenario where you set the
step size to .5 but want to show 2 digits of cents.  Yes, they can fix
their apps, but I don't like doing that to people.

I think I'll drag out my Windows computer and see what FP 11.1 does.

-Alex

On 9/12/13 3:05 PM, "Justin Mclean" <jus...@classsoftware.com> wrote:

>Hi,
>
>> Clever idea.  I didn't try it but from looking at this diff, I wonder if
>> it is ok to tie the number of decimal places to the step size.
>In most cases (that I can think of) it is. It certainly better than what
>it's currently doing.
>
>>  Couldn't there be a difference like stepping by whole dollars but
>>wanting to show
>> cents
>Can be done by setting the valueFormatFunction.
>
>> maybe starting at some fractional value but stepping by whole
>> integers,
>Then you need the decimal places 1.05, 2.05, 3.05 etc ect
>
>> or having the step size have more decimal places but show fewer
>> in order to deal with round off?
>Again you could use valuFormatFunction.
>
>What might be a better idea is if the class accepted a user defined data
>formatter rather than having dataFormatter as private and in settable.
>
>> Do we know if we're using the right "field" from the globalization
>> classes?  Is it a bug in the player we are working around?
>It probably is a bug as it only happens on Windows, I'd assuming it's
>getting the 2 decimal places from the locale currency format and using
>that as the default.
>
>It may also be that this is a bug only shows up in recent Flash Player
>versions on windows.
>
>Thanks,
>Justin

Reply via email to