You are not logged in.

loki

Trainee

  • "loki" started this thread

Posts: 72

Location: Berlin

  • Send private message

1

Friday, March 4th 2022, 3:44pm

Leading zeros important?

Hi all,

scale=".5" is debugged as string, scale="0.5" as value. I didn't spot problems with it yet, but wanted to make sure it is ok to use both?

Thanks for info.

2

Friday, March 4th 2022, 8:35pm

Hi,

I'm not sure what exactly you mean with:
scale=".5" is debugged as string, scale="0.5" as value
but it shouldn't matter.

In the end it's Javascript that evaluates the actual value and Javascript should accept both.

(personally I never understood why skipping the zero *confused* but it's okay of course ;-))

Best regards,
Klaus