Posts by Andre Lino • 95 points
3 posts
-
0
votes1
answer221
viewsQ: Unable to convert int to string C#
I created this read GET from the database, but when I read the id, it gives the following error "Cannot implicitly convert type 'int' to 'string'", it is telling me that led.id must be string? it’s…
c#asked Andre Lino 95 -
3
votes3
answers10600
viewsQ: Generate random data within a range
I cannot return any number. Ex: If I use "lower 1500" and "higher 5000", I would appear in this interval if I did not enter the while, only nothing is returning. public int aleatoriar(int maior, int…
-
3
votes1
answer415
viewsQ: How to get 4 last numbers from a variable?
I have to get last numbers from a variable and I don’t know how to do it. I’m taking the milliseconds and I need to play in this variable lol, where I need you to return only the last 4 digits of…