New “Time” variable is not roundable?

Use this template to make awesome bug reports:

Your username: Fundardo

What kind of device are you using?: iPad

1 sentence description of the problem (I was doing _________, and then __________ happened): I was testing the new stuff and I tried to use the round math operator on the new time variable and it didn’t round???

Steps that the Hopscotch team can take to reproduce my problem every time:

When game is playing

Set text to round (Time)

I expected this to happen: The time variable to be rounded

But instead this happened: it wasn’t

Here’s a sweet screenshot:

12 Likes

It’s time
Is time roundable?.

3 Likes

Very strange. Does this also happen with floor(time)?

Also, I want to know how the new stuff in beta works (rn, I can only do that if someone in beta publishes their project on this version)…

1 Like

If it’s a number, any number is roundable

2 Likes

Yes and I didn’t test but I think it’s also for ceiling

1 Like

Well, it’s beta, expect things to not work

On a side note: how many new iPad variables are there?

2 Likes

are you sure time isn’t a string?

1 Like

Username, time, year, month, day, hour, minute, second

1 Like

Well I’m pretty sure it shouldn’t be

If it is it should be fixed lol

1 Like

This just makes me even more exited for the future…

2 Likes

is there a “type” block that outputs the type of (x)?

2 Likes

No I don’t think so

@Petrichor you’re good with strings, is there any way to tell?

2 Likes

Wait I think I found a way

1 Like

Do any math to it other than add min and max, it is not a string, though.

3 Likes

Have you tried placing the time variable in a custom iPad variable, then round the custom variable? If it is a string, then that won’t work either…

2 Likes

Alright it’s not a string so idk what’s wrong here

1 Like

Maybe THT forgot to make the new variables compatible with round, floor, ceiling, etc…

2 Likes

I didn’t even know there was a new time variable. Sometimes I don’t look at the new blocks there are when a new update happens.

2 Likes

It’s in beta only…

3 Likes

To save you time from checking the variables out, object variable and iPad variables have swapped places, and iPad variables are now known as Game variable. And there is new text variables right after the math portion… that’s just the stuff that are public

3 Likes