# \#print

**URL:** https://discourse.julialang.org/tag/print/1609.md

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

---

## [Print vs @printf](https://discourse.julialang.org/t/print-vs-printf/121272)

<div class="topic-metadata">

**Author:** [@hack3rcon](https://discourse.julialang.org/u/hack3rcon)\
**Replies:** 6\
**Last updated:** [October 26, 2024, 7:51am UTC](https://discourse.julialang.org/t/print-vs-printf/121272 "2024-10-26T07:51:40Z")

</div>

Hello, Is it possible to write the following program using print, round and digits instead of using @printf? using Printf # needed in order to use @printf function tickets() print("Price of reserved ticket? ") rP…

---

## [Function works correctly for single file, but not in a loop?](https://discourse.julialang.org/t/function-works-correctly-for-single-file-but-not-in-a-loop/116988)

<div class="topic-metadata">

**Author:** [@GeodeticR](https://discourse.julialang.org/u/GeodeticR)\
**Replies:** 8\
**Last updated:** [July 19, 2024, 4:57pm UTC](https://discourse.julialang.org/t/function-works-correctly-for-single-file-but-not-in-a-loop/116988 "2024-07-19T16:57:34Z")

</div>

Okay, I am at a loss here. I have this loop here to skip any data that doesn’t meet a certain threshold. But what I cannot seem to figure out is why this isn’t working in the loop I have, but works fine when I enter it …

---

## [Issue with BigFloat rounding](https://discourse.julialang.org/t/issue-with-bigfloat-rounding/116831)

<div class="topic-metadata">

**Author:** [@chkat](https://discourse.julialang.org/u/chkat)\
**Replies:** 14\
**Last updated:** [July 10, 2024, 3:09pm UTC](https://discourse.julialang.org/t/issue-with-bigfloat-rounding/116831 "2024-07-10T15:09:01Z")

</div>

I want to set the BigFloat(7.0687866210937500e-1) by using a precision of 15 bits and two different rounding modes (up and down). So I do: setprecision(15) setrounding(BigFloat, RoundDown) # or RoundUp BigFloat(7.0687…

---

## [Pretty printing \`AxisArray\` based type alias](https://discourse.julialang.org/t/pretty-printing-axisarray-based-type-alias/116271)

<div class="topic-metadata">

**Author:** [@BambOoxX](https://discourse.julialang.org/u/BambOoxX)\
**Replies:** 0\
**Last updated:** [June 26, 2024, 4:50pm UTC](https://discourse.julialang.org/t/pretty-printing-axisarray-based-type-alias/116271 "2024-06-26T16:50:15Z")

</div>

Hi all, I’m currently using AxisArrays to store array-like data, while giving some sense to the dimension names and with type parameters so that my type remains generic enough. This is super practical, but whenever I pri…

---

## [Is there a direct way to get the string of the output of \`show\`?](https://discourse.julialang.org/t/is-there-a-direct-way-to-get-the-string-of-the-output-of-show/116188)

<div class="topic-metadata">

**Author:** [@paalon](https://discourse.julialang.org/u/paalon)\
**Replies:** 8\
**Last updated:** [June 25, 2024, 9:23am UTC](https://discourse.julialang.org/t/is-there-a-direct-way-to-get-the-string-of-the-output-of-show/116188 "2024-06-25T09:23:55Z")

</div>

I need to write the following script: # typeof # 値の型を得る function print\_typeof(x) print("表現「") show(x) println("」の値の型は「", typeof(x), "」である。") end print\_typeof(true) print\_typeof(1) print\_typeof(1.0) print\_t…

---

## [Print string from readavailable now seems to get a wrong encoding](https://discourse.julialang.org/t/print-string-from-readavailable-now-seems-to-get-a-wrong-encoding/115712)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 0\
**Last updated:** [June 16, 2024, 9:23am UTC](https://discourse.julialang.org/t/print-string-from-readavailable-now-seems-to-get-a-wrong-encoding/115712 "2024-06-16T09:23:44Z")

</div>

This was working “before” but now produces strange symbols in the output (like a binary output): using HTTP HTTP.open("GET", "https://julialang.org/") do io # Note the SSL support while !eof(io) println(Stri…
