User Profile

Collapse

Profile Sidebar

Collapse
Samuh
Samuh
Last Activity: Feb 6 '23, 12:19 PM
Joined: Nov 18 '21
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • As linguagens de programação não conseguem fazer esse simples calculo! Por quê?

    Code:
    print(128.23 - (118.23 + 10)
    echo 128.23 - (118.23 + 10);
    console.log(128.23 - (118.23 + 10.00))
    Para este teste, usei PHP, Python e JavaScript e todas me retornaram o mesmo valor
    Ao invés de me retornarem um 0 ou até 0.00, me retornaram -2.8421709430404 01e-14

    Alguém consegue me explicar o porquê disto acontecer?
    See more | Go to post

  • How to set web print orientation and margin? Preferably using JavaScript

    I have a project that in some pages, I need to make prints. But in some files I need to print in portrait orientation, and for other files I need to print in landscape orientation.

    To don't let the person wasting time and patience reconfiguring all the time, is there any way to leave a predefined configuration for some types of pages and other predefined configurations for other pages?

    Is there any web language that...
    See more | Go to post

  • I had a good ideia of a image transition but I don't know to implement because it's away from my knowledge

    i'm new as in the platform as in developing's world. I wanna put a transition image in my blog and i already a ideia of how i would like it to be, but as i am new in this i dont know how to implement this idea and would like some guidance on how i can do this using javascrip

    my idea:
    https://i.stack.imgur.c om/mKCqI.png

    (primary ideia)

    the images change position (going to the left) according to a...
    See more | Go to post
No activity results to display
Show More
Working...