# @sprintf not defined

**URL:** <https://discourse.julialang.org/t/sprintf-not-defined/19188>\
**Category:** General Usage\
**Created:** [January 2, 2019, 11:29am UTC](https://discourse.julialang.org/t/sprintf-not-defined/19188 "2019-01-02T11:29:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aquaman](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/aquaman/32/6586_2.png) [@Aquaman](https://discourse.julialang.org/u/Aquaman)\
**Post date:** [January 2, 2019, 11:29am UTC](https://discourse.julialang.org/t/sprintf-not-defined/19188/1 "2019-01-02T11:29:15Z")

</div>

Dear All,

I am a new julia user, I would like to ask, how can I remove the following bug in julia:

**ERROR: LoadError: LoadError: UndefVarError: [@sprintf](https://github.com/sprintf) not defined**

Kind regards,  
Yaakov

---

<div class="post-metadata">

**Author:** ![dpsanders](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dpsanders/32/3573_2.png) [@dpsanders](https://discourse.julialang.org/u/dpsanders)\
**Post date:** [January 2, 2019, 11:31am UTC](https://discourse.julialang.org/t/sprintf-not-defined/19188/2 "2019-01-02T11:31:18Z")

</div>

Does

using Printf

work?

---

<div class="post-metadata">

**Author:** ![Aquaman](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/aquaman/32/6586_2.png) [@Aquaman](https://discourse.julialang.org/u/Aquaman)\
**Post date:** [January 13, 2019, 7:23am UTC](https://discourse.julialang.org/t/sprintf-not-defined/19188/3 "2019-01-13T07:23:57Z")

</div>

> [@dpsanders](#):
>
> using Printf

Thanks,

This method works.
