Skip to content

Float Division #1

@JulianoDotto

Description

@JulianoDotto

I think is a nice idea to put a "how to do" a float division.
Some beginners may have some difficulty with this factor.

So, I write this exemple:

!/bin/bash

scale will define how long will be your number after the decimal point

echo "scale=2; 3.0/2" | bc

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions