Git Product home page Git Product logo

al2lab's Introduction

al2lab's People

Contributors

dathaker123 avatar joshimello avatar

Watchers

 avatar

Forkers

dathaker123

al2lab's Issues

Numbers decimals should be changed

The things per second in the List tab are fixed to 1 decimal place by toFixed(1) in src/routes/al2/list.svelte. The 1 should be replaced by something along the lines of:

Math.floor(num) === num ? 0 : num.toString().split(".")[1].length || 0

instead, where num is the number of items/sec given by the user. This will improve things if the user inputs a decimal number.

Similarly, when inputting a decimal number, in the Data tab, we get the classic:

image

Small bug for decimal amounts of a certain item in Data tab

I'm using 1x Nuclear Core here with default settings

image

The number of starters do not add up to the right number. Alternatively, with 2x Nuclear Core, same settings,

image

Things add up.

I tried with a few other random things and the same thing happens.

I'm gonna go ahead and guess it has something to do with Math.ceil() in src/routes/al2/stores.ts

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.