I'm doing a simple calculator for practice. This piece of code sends a number. However when I try to send a number X for example, it sends XX. This is what it looks like in console:

```
(pz@Molly)3> znamenka:send(0, prva_znamenka).
I'm about to send: 00
(pz@Molly)4>

```

---

This is the relevant piece of code:

```
send(X, Name) ->
    if 
        X =:= 0 ->
            Name!X;
        X =:= 1 ->
            Name!X;
        X =:= 2 ->
            Name!X;
        X =:= 3 ->
            Name!X;
        X =:= 4 ->
            Name!X;
        X =:= 5 ->
            Name!X;
        X =:= 6 ->
            Name!X;
        X =:= 7 ->
            Name!X;
        X =:= 8 ->
            Name!X;
        X =:= 9 ->
            Name!X;
        X =:= stop ->
            Name!X;
        true ->
            io:format("You didn't enter a number or stop.")
    end.

loop() ->
    receive
        stop ->
            exit({myExit});
        X ->
            io:format("I'm about to send: ~w", [X]),
            {rjesenje, rjesenje@Molly}!{self(), X},
            loop()
    end.

```