<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>aipacommander</author_name>
  <author_url>https://blog.hatena.ne.jp/aipacommander/</author_url>
  <blog_title>ITの隊長のブログ</blog_title>
  <blog_url>https://aipacommander.com/</blog_url>
  <categories>
    <anon>Scala</anon>
    <anon>Play Framework</anon>
  </categories>
  <description>要望。DBに登録されている料金を出力したい ほい @* db は、Controllerから取得したObject *@ 料金：@{db.price} 円 追加要望 とある料金を出力したいだけだったが、ユーザーによっては利用・利用しないってことがあった なので、条件分岐を用意してあげた。ほい 料金：@if(db.isUse) { @{db.price} 円 } else { 利用しません } 追加要望 料金にカンマ区切りを追加してほしい ほいさ。 料金：@if(db.isUse) { @{db.price.toString().reverse.sliding(3,3).map( x =&gt; x.re…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Faipacommander.com%2Fentry%2F2015%2F09%2F04%2F122922&quot; title=&quot;Scala（Template）のif文をOneLinerで記載したときにハマった - ITの隊長のブログ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn.user.blog.st-hatena.com/default_entry_og_image/98194825/1514241549987688</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-09-04 12:29:22</published>
  <title>Scala（Template）のif文をOneLinerで記載したときにハマった</title>
  <type>rich</type>
  <url>https://aipacommander.com/entry/2015/09/04/122922</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
